package com.ma;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

/**
 * Lets the user select if they want to share or view media
 * @author Danny
 *
 */
public class ManageMedia extends Activity implements OnClickListener
{
	Button view, share;
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.managemedia);
        view=(Button)findViewById(R.id.view);
        share=(Button)findViewById(R.id.share);
        view.setOnClickListener(this);
        share.setOnClickListener(this);
    }
	@Override
	public void onClick(View v)
	{
		if(v.equals(view))
		{
			Intent i=new Intent(this, Map.class);
			startActivity(i);
		}
		else if(v.equals(share))
		{
			
		}
	}

}
